package com.yisu.auction.manager.core.service;

import com.yisu.auction.ewf.entity.RechargeableCard;

import java.util.List;

/**
 * author: 赵杰
 * Business Description：充值卡业务
 * createTime：2017/9/10
 */
public interface IRechargeableCardService {
    /**
     * 批量添加充值卡
     * @param rechargeableCards
     * @return
     */
    boolean bathAddModel(List<RechargeableCard> rechargeableCards);

    /**
     * 通过prizeId 获取充值卡列表
     * @param prizeId
     * @return
     */
    List<RechargeableCard> getListByPrizeId(Long prizeId);


    /**
     * author:黄萧林
     * Business Description:添加充值卡信息
     * @param rechargeableCard
     * @return
     */
    boolean modifyRechargeCard(RechargeableCard rechargeableCard);

    /**
     * author:黄萧林
     * Business Description:删除充值卡信息
     * @param id
     * @return
     */
    boolean deleteRechargeCard(Long id);

    /**
     * author:黄萧林
     * Business Description:查询一条数据
     * @param id
     * @return
     */
    RechargeableCard getRechargeableCard(Long id);
}
